package com.cpj.bsyyzx.service;

import com.cpj.bsyyzx.entity.Permission;
import com.cpj.bsyyzx.entity.RolePermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 五个臭皮匠
 * @since 2021-05-09
 */
public interface IRolePermissionService extends IService<RolePermission> {
    List<Permission> getPermission();
    RolePermission getByRoleId(Integer roleId);
    void getChildren(Permission Permission);
}
